#ifndef __BSP_TIMER_H__
#define __BSP_TIMER_H__

#include "at32f425.h"

#define BASE_TIM  TMR6
#define BASE_TIM_CRM_CLK CRM_TMR6_PERIPH_CLOCK

#define BASE_TIM_PERIOD   (8-1)
#define BASE_TIM_PSC			(9-1)

#define BASE_TIM_IRQ			TMR6_GLOBAL_IRQn
#define BASE_TIM_IRQHandler	TMR6_GLOBAL_IRQHandler


void BASE_TIM_Init(void);




#endif
